
public class Bank
{
	private String staffName;
	private String StaffPosition;
	private int inventorySize;

	//No arg constructor
	public Bank() 
	{
		inventorySize = 0;
	}
	
	//Create a summary of the bank inventory
	public void produceReport()
	{
		
	}
	
	//Add blood to the system
	public void addBlood( int amount)
	{
		inventorySize = inventorySize + amount;
	}
	
	public int placeOrder( int amount)
	{
		if(amount < inventorySize)
		{
			inventorySize = inventorySize - amount;
			return amount;	
		}
		else
		{
			return 0;
		}
	}
	
	//Assure that blood passes regulation blood testing.
	public void processBlood()
	{
		System.out.println("Processing blood \n Done \n");
	}
	
	public int sendBlood(int amount)
	{
		if(amount < inventorySize)
		{
			inventorySize = inventorySize - amount;
			return amount;	
		}
		else
		{
			return 0;
		}
	}

	//Return the current inventory
	public void checkInventory()
	{}
	
	@Override
	public String toString() {
		return "Bank [inventory=" + inventorySize + "]";
	}
	
}
